package com.jinxin.platform.cdinfogo.pojo.domain;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CdinfogoDevice implements Serializable {
    private static final long serialVersionUID = 721967417016663605L;
    
    private String id;
    /**
    * 设备名称
    */
    private String deviceName;
    /**
     * 设备别名
     */
    private String nickName;
    /**
    * 设备类型
    */
    private String deviceType;
    /**
    * 设备Mac
    */
    private String deviceMac;
    /**
    * 创建者
    */
    private String creator;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;
    /**
    * 预留
    */
    private String other;
    /**
     * BCCA账号
     */
    private String account;

}